package JMSRaceServer;

import java.io.Serializable;

public class RaceJMSDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String raceServer;
	private String name;
	private float distance;
	private String date;
	private int availablePlaces;
	
	public RaceJMSDTO(String name, float dist, String date, int availablePlaces)
	{
		this.name = name;
		this.distance = dist;
		this.date = date;
		this.availablePlaces = availablePlaces;
	}

	public String getRaceServer() {
		return raceServer;
	}

	public void setRaceServer(String raceServer) {
		this.raceServer = raceServer;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public float getDistance() {
		return distance;
	}

	public void setDistance(float distance) {
		this.distance = distance;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getAvailablePlaces() {
		return availablePlaces;
	}

	public void setAvailablePlaces(int availablePlaces) {
		this.availablePlaces = availablePlaces;
	}

}
